print name 10 times in c using for loop